package junit;

import java.util.HashMap;
import java.util.Map;

import org.iframework.commons.util.HttpUtil;

public class UpdateHouse {
	public static void main(String[] args) {
		String url = "http://zzkb.innjia.com/rent-service/api/rentHouseOn1.json";
		//String houseId = "7d5678a1-288b-4610-b16a-2f88c625ac03";
		
//		String[] ss = {"7d5678a1-288b-4610-b16a-2f88c625ac03",
//		"00bb6437-3453-43a7-8ac1-557a81e319d2",
//		"68b9bc35-eb4e-4c58-bc2b-90814c7d985c",
//		"a44c359b-8e35-43f7-8102-4915d1c4b645",
//		"08cb213e-4c4d-48e8-b326-f0d1caa8c2c8",
//		"02fcd54a-d117-49da-989e-aa840bb2f24d",
//		"33dba2ac-4598-443f-995b-94f669602831",
//		"2eaf08cf-9ce6-4bdc-ad31-0ee6542f0ada",
//		"3cc3bc9b-2df1-4429-9bd6-1d48cf0e6946",
//		"4d38ebc5-492b-4a6a-8cf7-09fbab7503b4",
//		"1eb9f025-608f-427b-b90a-d7da694f1e03",
//		"24f09265-b967-49ef-b7e7-65e6879aea9a",
//		"dede9ec1-ea1e-4548-9121-40e1ac7af80c",
//		"817fd509-00da-4a67-9d03-e34208ead33e",
//		"68299285-42cd-4950-809c-b2f41cd77d3c",
//		"8cf99089-fb18-4573-9341-1d6c16e054b7",
//		"009eb48d-1f5a-4b6f-befe-b630a984781c",
//		"093d24bd-4fbf-408c-9713-f61a684055a5",
//		"1fb2eea7-3849-4749-8953-16fbf9764387",
//		"131b1d1d-f84e-4495-80c9-a855db812a0c",
//		"fbc0f5aa-c27b-43b4-836c-8e742f1ccdeb",
//		"4a218fea-cbfc-4069-adc7-4b232a97f4bf",
//		"09c92274-6bf7-4281-b4a6-f37c7401e615",
//		"24678955-c261-4fca-83d9-307b087e4ed2"};
		
		Map<String, Object> params = new HashMap<String, Object>();
		params.put("projectNo", "ZG");
		params.put("houseType", "house");
		params.put("rentType", "ZHENGZU");
//		for (String houseId : ss) {
//			params.put("projectHouseId", houseId);
//			HttpClientUtils.post(url, params);
//		}
		params.put("projectHouseId", "03dcbccb-a7bf-425d-a885-a0d450969757");
		HttpUtil.post(url, params);
	}

}
